package com.baiyang.server.dao.read;

import com.baiyang.server.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;

import com.baiyang.server.model.read.Comments;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CommentsDao extends BaseDao<Comments> {
    List<Comments> getCommentRecord(@Param(value = "userId") String userId,
                                    @Param(value = "pageStart")int pageStart,
                                    @Param(value = "pageSize")int pageSize);

    List<Comments> getNewComment(@Param(value = "ids")List<String> ids,
                                 @Param(value = "i")int i);
}
